﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;
using DAL;
namespace Entities
{
  
     [TableName("ChiTietThoiKhoaBieuDeNghi")]
    public class ChiTietThoiKhoaBieuDeNghi : BaseEntity<ChiTietThoiKhoaBieuDeNghi>
    {
        [MapField("MaKH"),]
        public string MaKH { get; set; }
        [MapField("SoTietCanXep")]
        public int SoTietCanXep { get; set; }
        [MapField("SoTietThucHanhCanXep")]
        public int SoTietThucHanhCanXep { get; set; }
        [MapField("DeNghi")]
        public string DeNghi { get; set; }
        [MapField("MaDN")]
        public string MaDN { get; set; }

        [MapIgnore]
        public int SoTietLyThuyetCanXep
        {
            get { return SoTietCanXep - SoTietThucHanhCanXep; }
            set { value = SoTietCanXep - SoTietThucHanhCanXep; }
        }
    }
}
